package com.liu.gscfqa.pojo;

import java.time.LocalDateTime;

/**
 * 点赞记录表实体类
 */
public class LikeRecord {
    // 记录ID
    private Integer id;

    // 用户ID
    private Integer userId;

    // 评论ID
    private Integer commentId;

    // 点赞时间
    private LocalDateTime createTime;

    // 构造方法
    public LikeRecord() {
    }

    public LikeRecord(Integer userId, Integer commentId) {
        this.userId = userId;
        this.commentId = commentId;
    }

    // Getter和Setter方法
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getCommentId() {
        return commentId;
    }

    public void setCommentId(Integer commentId) {
        this.commentId = commentId;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
}